package design.simdi.code.final_paper.utils;

/**
 * 
 * @author Marius Dumitriu - (Jun 20, 2010 - 4:48:33 PM)
 * 
 */
public enum ToolbarItem {
	ADD("add", "images/icons/add.png"),
	MODIFY("modify", "images/icons/edit.png"),
	DELETE("delete", "images/icons/delete.png"),
	VIEW("view","images/icons/magnify.png"), 
	CANDIDATE ("candidate","images/icons/user.png" ), 
	CANDIDATE_NO("candidate-no", "images/icons/user-no.png"), 
	ADD_FROM_IDEA("add-from-idea", "images/icons/bulb.png"), 
	ADMIT("admit", "images/icons/yes.png"),
	REJECT("reject" , "images/icons/no.png"),
	SEND_MESSAGE("send-message", "images/icons/comment.png"), 
	ACTIVATE("activate", "images/icons/flag_green.png"),
	BLOCK("block", "images/icons/flag_red.png"), 
	SEND("send", "images/icons/new.png"), 
	REPLY("reply", "images/icons/comment.png"),
	DEFAULT("default", "images/icons/flag_yellow.png"),
	ADD_ADMIN_ROLE("make-admin", "images/icons/star_red.png"),
	REMOVE_ADMIN_ROLE("remove-admin-role", "images/icons/star_green.png");
	
	
	

	private String imageSource;
	private String name;

	private ToolbarItem(String name, String imgSource) {
		this.setImageSource(imgSource);
		this.setName(name);
	}

	private void setImageSource(String imageSource) {
		this.imageSource = imageSource;
	}

	public String getImageSource() {
		return imageSource;
	}

	private void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

}
